{config_load file="$language/affiliate.conf" section="affiliate_account_details"}
<table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
  <tr>
    <td class="formAreaTitle">{#category_personal#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          {if $ACCOUNT_GENDER == 'true'}
          <tr>
            <td class="main">{#entry_gender#}</td>
            <td class="main"><table><tr><td>{$gender_male}</td><td>{$gender_female}</td></tr></table></td>
          </tr>
          {/if}
          <tr>
            <td class="main">{#entry_first_name#}</td>
            <td class="main">{$firstname_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_lastname#}</td>
            <td class="main">{$lastname_content}</td>
          </tr>
          {if $ACCOUNT_DOB == 'true'}
          <tr>
            <td class="main">{#entry_date_of_birth#}</td>
            <td class="main">{$dob_content}</td>
          </tr>
          {/if}
          <tr>
            <td class="main">{#entry_email_address#}</td>
            <td class="main">{$email_content}</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  {if $ACCOUNT_COMPANY == 'true'}
  <tr>
    <td class="formAreaTitle"><br>{#category_company#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main">{#entry_affiliate_company#}</td>
            <td class="main">{$company_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_company_taxid#}</td>
            <td class="main">{$company_taxid_content}</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  {/if}
  <tr>
    <td class="formAreaTitle"><br>{#category_payment_details#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          {if $AFFILIATE_USE_CHECK == 'true'}
          <tr>
            <td class="main">{#entry_affiliate_payment_check#}</td>
            <td class="main">{$payment_check_content}</td>
          </tr>
          {/if}
          {if $AFFILIATE_USE_PAYPAL == 'true'}
          <tr>
            <td class="main">{#entry_affiliate_payment_paypal#}</td>
            <td class="main">{$payment_paypal_content}</td>
          </tr>
		  {/if}
		  {if $AFFILIATE_USE_BANK == 'true'}
		  <tr>
            <td class="main">{#entry_affiliate_payment_bank_name#}</td>
            <td class="main">{$payment_bank_name_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_payment_bank_branch_number#}</td>
            <td class="main">{$payment_bank_branch_number_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_payment_bank_swift_code#}</td>
            <td class="main">{$payment_bank_swift_code_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_payment_bank_account_name#}</td>
            <td class="main">{$payment_bank_account_name_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_payment_bank_account_number#}</td>
            <td class="main">{$payment_bank_account_number_content}</td>
          </tr>
          {/if}
          </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="formAreaTitle"><br>{#category_address#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main">{#entry_street_address#}</td>
            <td class="main">{$street_address_content}</td>
          </tr>
          {if $ACCOUNT_SUBURB == 'true'}
		  <tr>
            <td class="main">{#entry_suburb#}</td>
            <td class="main">{$suburb_content}</td>
          </tr>
          {/if}
          <tr>
            <td class="main">{#entry_post_code#}</td>
            <td class="main">{$postcode_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_city#}</td>
            <td class="main">{$city_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_country#}</td>
            <td class="main">{$country_id_content}</td>
          </tr>
          {if $ACCOUNT_STATE == 'true'}
          <tr>
            <td class="main">{#entry_state#}</td>
            <td class="main">{$state_content}</td>
          </tr>
          {/if}
          </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td class="formAreaTitle"><br>{#category_contact#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main">{#entry_telephone_number#}</td>
            <td class="main">{$telephone_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_fax_number#}</td>
            <td class="main">{$fax_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_affiliate_homepage#}</td>
            <td class="main">{$homepage_content}</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  {if $PASSWORD_READONLY == 'false'}
  <tr>
    <td class="formAreaTitle"><br>{#category_password#}</td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main">{#entry_password#}</td>
            <td class="main">{$password_content}</td>
          </tr>
          <tr>
            <td class="main">{#entry_password_confirmation#}</td>
            <td class="main">{$password_confirmation_content}</td>
          </tr>
          </table></td>
      </tr>
    </table></td>
  </tr>
  {/if}
  <tr>
    <td class="formAreaTitle"><br></td>
  </tr>
  <tr>
    <td class="main"><table border="0" width="100%" cellspacing="0" cellpadding="2" class="formArea">
      <tr>
        <td class="main"><table border="0" cellspacing="0" cellpadding="2">
          <tr>
            <td class="main"></td>
            <td class="main">{$agb_content}</td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
